package com.prawn.ift.ctrlequipment.service;


import com.prawn.ift.ctrlequipment.entity.CtrlEquipmentVo;
import com.prawn.ift.ctrlequipment.pojo.Ctrlequipment;
import entity.Result;
import entity.Result;

/**
 * @Author: zhy
 * @email: 1269679946@qq.com
 * @Date: 2018/10/21
 * @DESC： 控制设备服务接口
 */
public interface CtrlEquipmentService {

    //增加控制设备
    Result addCtrlEquipment(Ctrlequipment ctrlEquipment);

    //删除控制设备
    Result deleteCtrlEquipment(String id);

    //修改控制设备
    Result editCtrlEquipment(Ctrlequipment ctrlEquipment);

    //查询控制设备
    Ctrlequipment getCtrlEquipmentById(String id);
    Result getCtrlEquipmentList();
    Result getCtrlEquipmentListByVo(CtrlEquipmentVo ctrlEquipmentVo);
    Result getCtrlEquipmentPage(int page, int rows);

}
